package com.atguigu.tingshu.search.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.search.client.SearchFeignClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class SearchDegradeFeignClient implements SearchFeignClient {

    private static final Logger log = LoggerFactory.getLogger(SearchDegradeFeignClient.class);

    @Override
    public Result updateLatelyAlbumRanking() {
        log.info("更新排行榜远程调用熔断保护");
        return null;
    }
}
